import {
  Button,
  Cell,
  CellGroup,
  Image,
  Field,
  ActionSheet,
  RadioGroup,
  Radio,
  DatePicker,
  Popup,
  Picker,
  Area,
  Icon,
  SwipeCell,
  Checkbox,
  Popover,
  PullRefresh,
} from 'vant'
import type { App } from 'vue'

export default {
  install(app: App<Element>) {
    app.use(Button)
    app.use(Cell)
    app.use(CellGroup)
    app.use(Image)
    app.use(Field)
    app.use(ActionSheet)
    app.use(RadioGroup)
    app.use(Radio)
    app.use(DatePicker)
    app.use(Popup)
    app.use(Picker)
    app.use(Area)
    app.use(Icon)
    app.use(SwipeCell)
    app.use(Checkbox)
    app.use(Popover)
    app.use(PullRefresh)
  },
}
